package com.zyh.test04.bean;

public class Card {
    public String color;
    public String num;

//    满参构造方法
    public Card(String color,String num){
        this.color=color;
        this.num=num;
    }
//    成员方法
    public void showCard(){
        System.out.println(color+num);
    }
}
